package com.wolfalpha.utron.bean;

/**
 * 列表中的创意
 * <p>
 * Created by luodon on 15/8/19.
 */
public class ItemIdea {

    private int id;         //创意ID
    private int user_id;    //作者ID
    private String user_head;//作者头像
    private int views;      //浏览次数
    private String title;   //标题
    private String content; //内容
    private int dir;        //方向
    private String from;    //来自的学校]


    public ItemIdea() {
        this.content = "打嗝”在临床中称为“呃逆”，在人体的胸腔与腹腔之间，有一顶帽子似的厚厚的肌肉膜——膈肌，当膈肌突然收缩、伴有吸气时声门突然关闭，响亮的嗝声就此产生了。";
        this.dir = 1;
        this.user_id = 2;
        this.id = 3;
        this.user_head = "http://b.hiphotos.baidu.com/zhidao/wh%3D800%2C450/sign=3c2bc09ad7c8a786be7f42065739e509/0df431adcbef76095202f9ff28dda3cc7cd99e40.jpg";
        this.title = "打嗝打到根本停不下来打嗝打到根本停不下来打嗝打到根本停不下来了，怎么办？";
        this.from = "南京大学";
        this.views = 12;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_head() {
        return user_head;
    }

    public void setUser_head(String user_head) {
        this.user_head = user_head;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getDir() {
        return dir;
    }

    public void setDir(int dir) {
        this.dir = dir;
    }
}
